mostly fix mail bugs
[distro-setup] / mail-setup
index da91b1cf9a013846f7ee15a4aed51b1bee16c9e3..716a8b17ddfcd10628fef84adca377004656824d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash -l
+#!/bin/bash
 # Copyright (C) 2016 Ian Kelling
 
 # Licensed under the Apache License, Version 2.0 (the "License");
@@ -430,6 +430,7 @@ Description=Offlineimap sync
 After=multi-user.target
 
 [Service]
+User=ian
 Type=oneshot
 ExecStart=/a/bin/log-quiet/sysd-mail-once offlineimap-sync /a/bin/distro-setup/offlineimap-sync
 EOF