Fixed dest folder memory allocation. Added service file
This commit is contained in:
16
freemind-mindgen.service
Normal file
16
freemind-mindgen.service
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Calendar Auto Generator
|
||||
After=network.target multi-user.target
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
User=root
|
||||
WorkingDirectory=/root/freemind-mindgen/
|
||||
ExecStart=/root/freemind-mindgen/watcher /root/calendar/ /var/www/links/calendar/
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
SyslogIdentifier=CalendarGen
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user